<include file="header" />

<div class="main_container" id="forms_page">
	<div class="row-fluid">
		<ul class="breadcrumb">
			<li><a href="#">Home</a> <span class="divider">/</span></li>
			<li><a href="#">Features</a> <span class="divider">/</span></li>
			<li class="active">Forms</li>
		</ul>
		<h2 class="heading">社团详细信息</h2>
	</div>

	<div class="row-fluid">
		<div class="widget widget-padding span12">

			<div class="widget-header">
				<i class="icon-list-alt"></i>
				<h5>社团信息</h5>

				<div class="widget-buttons">


					<a href="#" data-title="Collapse" data-collapsed="false"
						class="tip collapse" data-original-title=""><i
						class="icon-chevron-up"></i></a>
				</div>
			</div>

			<div class="widget-body">
				<div class="widget-forms clearfix">

					<form class="form-horizontal" method="post"
						enctype="multipart/form-data" action="">

						<input type="hidden" name="gid" value="{$groups.gid}">

						<div class="control-group">
							<label for="groupname" class=" control-label">社团名称</label>
							<div class="controls">
								<input type="text" class="form-control" id="groupname"
									name="groupname" placeholder="groupname"
									value="{$groups.groupname}">
							</div>
						</div>

						<div class="control-group">
							<label for="team" class="control-label">所在团队名</label>

							<div class="controls">
								<input type="team" class=" form-control " id="team" name="team"
									placeholder="team" value="{$groups.team}">
							</div>
						</div>

						<div class="control-group">
							<label for="intro" class="col-md-2 control-label">介绍</label>
							<div class="controls">
								<input type="text" class="form-control" id="intro" name="intro"
									placeholder="intro" value="{$groups.intro}">
							</div>
						</div>


						<div class="control-group">
							<label for="image" class="col-md-2 control-label">Logo</label>
							<div class="controls">
								<img class="img-rounded" id="image"
									src="__PUBLIC__/Uploads/photo/{$groups.logo}" alt="no pic"
									width=150px;height=150px; />
							</div>
						</div>



						<div class="control-group">
							<label class="control-label">Date Picker</label>

							<div class="controls">

								<input size="16" type="date" value="{$groups.regdate}"
									name="regdate">

							</div>

						</div>

						<input type="hidden" name="createtime" value="sysdate()">

						<div class="control-group">
							<label for="leader" class="col-md-2 control-label">负责人学号</label>
							<div class="controls">
								<input type="text" class="form-control" id="leader"
									name="leader" placeholder="leader" value="{$groups.leader}">
							</div>
						</div>

					</form>
				</div>



			</div>


		</div>

	</div>

	<div class="row-fluid">
		<div class="widget widget-padding span12">

			<div class="widget-header">
				<i class="icon-list-alt"></i>
				<h5>社团成员</h5>

				<div class="widget-buttons">

					<a href="memberAdd?gid={$_GET['gid']}" data-title="Add Member"
						data-toggle="false" data-target="#example_modal"><i
						class="icon-plus"></i></a> <a href="#" data-title="Collapse"
						data-collapsed="false" class="tip collapse" data-original-title=""><i
						class="icon-chevron-up"></i></a>
				</div>
			</div>

			<div class="widget-body">
				<div id="users_wrapper" class="dataTables_wrapper form-inline"
					role="grid">
					<div class="row-fluid">
						<div class="span6">
							<div id="users_length" class="dataTables_length">
								<label>Entries: <select size="1" name="users_length"
									aria-controls="users"><option value="10"
											selected="selected">10</option>
										<option value="25">25</option>
										<option value="50">50</option>
										<option value="100">100</option></select>
								</label>
							</div>
						</div>
						<div class="span6">
							<div class="dataTables_filter" id="users_filter">
								<label>Search: <input type="text" aria-controls="users"></label>
							</div>
						</div>
					</div>

					<table id="users"
						class="table table-striped table-bordered dataTable">
						<thead>

							<tr>
								<td class="col-sm-2">所属社团</td>
								<td class="col-sm-1">学号</td>
								<td class="col-sm-1">操作</td>
							</tr>
						</thead>
						<tbody>
							<volist name="members" id="me">

							<tr>
								<td>{$me.realname}</td>
								<td>{$me.stunum}</td>

								<td>
									<div class="btn-group">
										<a class="btn btn-small dropdown-toggle"
											data-toggle="dropdown" href="#"> 操作 <span class="caret"></span>
										</a>
										<ul class="dropdown-menu pull-right">

											<li><a href="delGroupMember?meid={$me.meid}"><i
													class="icon-edit"></i> 删除社团成员</a></li>



										</ul>
									</div>
								</td>
							</tr>

							</volist>


						</tbody>

					</table>


					<div class="row-fluid">
						<div class="span6">
							<div class="dataTables_info" id="users_info">Showing 1 to 8
								of 8 entries</div>
						</div>
						<div class="span6">
							<div class="dataTables_paginate paging_bootstrap pagination">
								<ul>
									<li class="prev disabled"><a href="#">← Previous</a></li>
									<li class="active"><a href="#">1</a></li>
									<li class="next disabled"><a href="#">Next → </a></li>
								</ul>
							</div>
						</div>
					</div>





				</div>





			</div>


		</div>

	</div>


	<div class="row-fluid">
		<div class="widget widget-padding span12">

			<div class="widget-header">
				<i class="icon-list-alt"></i>
				<h5>待审批社团成员</h5>

				<div class="widget-buttons">

					<a href="memberAdd?gid=6" data-title="Add Member"
						data-toggle="false" data-target="#example_modal"><i
						class="icon-plus"></i></a> <a href="#" data-title="Collapse"
						data-collapsed="true" class="tip collapse widget-hidden"
						data-original-title=""><i class="icon-chevron-up"></i></a>
				</div>
			</div>

			<div class="widget-body" >
				<div id="users_wrapper" class="dataTables_wrapper form-inline"
					role="grid">
					<div class="row-fluid">
						<div class="span6">
							<div id="users_length" class="dataTables_length">
								<label>Entries: <select size="1" name="users_length"
									aria-controls="users"><option value="10"
											selected="selected">10</option>
										<option value="25">25</option>
										<option value="50">50</option>
										<option value="100">100</option></select>
								</label>
							</div>
						</div>
						<div class="span6">
							<div class="dataTables_filter" id="users_filter">
								<label>Search: <input type="text" aria-controls="users"></label>
							</div>
						</div>
					</div>

					<table id="users"
						class="table table-striped table-bordered dataTable">
						<thead>

							<tr>
								<td class="col-sm-2">所属社团</td>
								<td class="col-sm-1">学号</td>
								<td class="col-sm-1">审批</td>
								<td class="col-sm-1">操作</td>
							</tr>
						</thead>
						<tbody>
							<volist name="shenpis" id="sp">

							<tr>
								<td>{$sp.realname}</td>
								<td>{$sp.stunum}</td>
								<td>{$sp.state}</td>
								<td>
									<div class="btn-group">
										<a class="btn btn-small dropdown-toggle"
											data-toggle="dropdown" href="#"> 操作 <span class="caret"></span>
										</a>
										<ul class="dropdown-menu pull-right">
											<li><a href="setGroupLeader?meid={$sp.meid}"><i
													class="icon-edit"></i> 设为社团负责人</a></li>
											<li><a href="cancelGroupLeader?meid={$sp.meid}"><i
													class="icon-envelope"></i> 取消社团负责人 </a></li>
											<li><a href="delGroupMember?meid={$sp.meid}"><i
													class="icon-edit"></i> 删除社团成员</a></li>
										</ul>
									</div>
								</td>
							</tr>
							</volist>
						</tbody>

					</table>


					<div class="row-fluid">
						<div class="span6">
							<div class="dataTables_info" id="users_info">Showing 1 to 8
								of 8 entries</div>
						</div>
						<div class="span6">
							<div class="dataTables_paginate paging_bootstrap pagination">
								<ul>
									<li class="prev disabled"><a href="#">← Previous</a></li>
									<li class="active"><a href="#">1</a></li>
									<li class="next disabled"><a href="#">Next → </a></li>
								</ul>
							</div>
						</div>
					</div>
				</div>

			</div>


		</div>

	</div>

</div>



<include file="footer" />